package com.unknown.dapp.uni.swap.log;

import com.unknown.dapp.uni.swap.log.mapper.TTokenSwapRecord;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

/**
 * @author Administrator
 */
public interface ISwapNoticeHandler {

    @Transactional(rollbackFor = Exception.class, propagation = Propagation.MANDATORY)
    void handle(TTokenSwapRecord tokenSwapRecord) throws Exception;
}
